import { Select } from 'antd';
import React from 'react';

const { Option } = Select;

export const category = [
  {
    value: 'clothing',
    label: '服装',
    children: [
      {
        value: 'hangzhou',
        label: 'Hangzhou',
        children: [
          {
            value: 'xihu',
            label: 'West Lake',
          },
        ],
      },
    ],
  },
];

const brandList = [
  {
    text: '小米',
    value: '0',
  },
  {
    text: '七匹狼',
    value: '1',
  },
];

export const brandOptions = brandList.map(item => (
  <Option key={item.value} value={item.value}>
    {item.text}
  </Option>
));
